import { request } from "../request";

export function postorder(address_id) {
  return request({
    method: "post",
    url: 'api/orders/commit/',
    // url: '/login',
    data: {
      address_id
    },
     withCredentials:true,
  });
}